package com.nnfe.fyd.feature.inquiry;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.nnfe.fyd.base.BaseActivity;
import com.nnfe.fyd.bean.myinquirt.InquirtBean;

/**
 * Created by dada on 2017/3/21.
 */

public class MyinquiryDeailActivity extends BaseActivity {

    /**
     * @param context
     */
    public static void lauch(Context context, InquirtBean.Inquirt bean) {
        Intent intent = new Intent();
        intent.setClass(context, MyinquiryDeailActivity.class);
        intent.putExtra("bean",bean);
        context.startActivity(intent);
    }
    @Override
    public Fragment getContentFragment() {
        MyInquiryDetailFragment fragment=new MyInquiryDetailFragment();
        Bundle bundle=new Bundle();
        bundle.putSerializable("bean",getIntent().getSerializableExtra("bean"));
        fragment.setArguments(bundle);
        return fragment;
    }
}
